package com.jokerku.lottery.domain.receive.filter.impl;

import com.alibaba.fastjson.JSON;
import com.jokerku.lottery.domain.receive.filter.EventFilter;
import com.jokerku.lottery.domain.receive.model.BehaviorMatter;
import com.jokerku.lottery.interfaces.WxPortalController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @Author: guzq
 * @CreateTime: 2022/08/31 10:26
 * @Description: 取消订阅事件
 * @Version: 1.0
 */
@Service("unSubscribe")
public class UnSubscribeFilter implements EventFilter {
    private final Logger log = LoggerFactory.getLogger(WxPortalController.class);

    @Override
    public String filter(BehaviorMatter req) {
        log.error("用户取消订阅了，msg:{}", JSON.toJSONString(req));
        return null;
    }
}
